<div class="fly-panel fly-column">
    <div class="layui-container">
        {if condition="isset($coderank)&&$coderank"}
        <ul class="layui-clear">
            <li id='nav1' class="layui-hide-xs">
                <a href="{:url('web/Problem/problem','pid='.$nyoj_pid)}">
                    题目信息
                </a>
            </li>
            <li id="nav2" class="layui-hide-xs"><a href="{:url('web/Problem/status')}?pid={$nyoj_pid}&coderank=1">本题排行</a></li>
        </ul>
        {else /}
        <div style="text-align:center; color:blue;font-size:150%" >
            <p>{:htmlspecialchars($broadcast)}</p>
        </div>
        {/if}
    </div>
</div>
<script>
    layui.use(['jquery'],function(){
        var $=layui.jquery;
        var id={$navid};
        $('#nav'+id).addClass('layui-this');
    });
</script>
